<template>
	<view class="container">
		<rich-text :nodes="content"></rich-text>
	</view>
</template>

<script>
	import comm from '../../static/data/commFunc.js'
	import cfg from '../../static/data/config.js'
	var r = cfg.router;
	export default {
		data() {
			return {
			content:""
			};
		},
		onShow() {
			let data = {type:1}
			comm.request("POST", "/public/about", data, (res, data) => {
				console.log("关于我们", res)
				if (res.data.ret_code == 200) {
					let content = data.htmlContent.replace(
          /\<img/gi,
          '<img style="max-width:100%;height:auto" ')
						this.content = content
				} else {
					comm.showToast(res.data.ret_msg, "none")
				}
			})
		},
		
	}
</script>

<style lang="less">
// @import url('../../static/css/quill.bubble.css')
.container{
	padding:30rpx;
}
</style>
